Skip to main content

All Questions

Tagged with
0votes
1answer
221views

Is it possible to remove/hide/remove the "Stock Images" in SharePoint Online webpart?

I have a requirement to hide or not show "Stock Images" and "Web Search" etc when selecting an image to a web part. Is it possible to do that using PowerShell or some command? I ...
naijacoder's user avatar
0votes
1answer
129views

Site Import Error

I am currently getting the error below when importing a site and I have no idea what is causing it, can anyone help? [FatalError][-2146231999][System.Xml.Schema.XmlSchemaValidationException][The ...
Ben Cooper's user avatar
0votes
1answer
488views

npm install command error

Sample:(PS: You can find what I tested in the GitHub link below) https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-mgtEvents/src/webparts/mgtEvents/MgtEventsWebPart.ts Problem: Hello,...
Roberto Hajj's user avatar
0votes
1answer
21views

Limiting font colors while creating a post?

Is there a way to limit a font color while creating a post to black only? I'm also interested with other limitations like Normal font is 18px only and Headline is 28 etc. Is there way to do it for ...
FluffyChicken's user avatar
0votes
1answer
1kviews

How to export XML of webpart on the page

I want to export the Web part XML based on GUID to the local. I am trying to export from SharePoint 2013 using CSOM PowerShell. Anyone suggest on this? function EnsureDirectory($exportFolderPath) { ...
Liz's user avatar
  • 77
0votes
2answers
537views

Read the content of web part

I have content editor,script editor, image viewer etc.. part on share point homepage. I am able to read the web part properties. Now i want to read the content or values of that web part using power ...
Liz's user avatar
  • 77
0votes
1answer
1kviews

The remote server returned an error: (500) Internal Server power shell

I am trying to load the on premise SharePoint site using below PowerShell code: Add-Type -Path "C:\Program Files\Common Files\microsoft shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint....
Liz's user avatar
  • 77
0votes
1answer
455views

Changing Web Part properties via powershell

i am currently wanting to update the "ShowSortOptions" & "ShowLanguageOptions" via Powershell l have filter with the correct web part using $Webpart = $WebPartManager.WebParts | Where { $_.Title ...
John Smith's user avatar
1vote
1answer
1kviews

remove <div> from a sharepoint list with powershell

I have a web part where a user adds a comment into a multi-line text field. It was originally set up as a rich-text field but I need to change it to plain-text for reasons. When I did so, all the ...
shalorsar's user avatar
1vote
1answer
1kviews

Put an Image webpart (Image/Image gallery) on the top of a Modern SP page with Powershell (PnP)

I need to communicate an important information (picture) on Team Site homepages so I decided to add on the top of every homepages an Image Webpart (to know : homepages already has some webparts). I ...
user78581's user avatar
1vote
0answers
636views

Read webpart Data - Sharepoint Online powershell

I have a requirement where I need to find if there is a table in the pages on my website. I thought of writing a PowerShell script for getting all the webparts in the page and reading the content ...
RealSteel's user avatar
0votes
2answers
2kviews

Copying Web Parts between pages in different web apps (SP2013)

I am migrating sites between two different web apps, both in the same SharePoint 2013 farm. Both sites are pretty heavily customised (master pages, page layouts, content types, etc). All attempts to ...
user42178's user avatar
1vote
1answer
2kviews

How to get webPart XML with powershell from SharePoint WebPart Gallery

I want to get web part XML from SharePoint Web Parts Gallery(not locally) for add webpart into a List page. This is my code: $spWeb = Get-SPWeb $webURL $spSiteCollection = Get-SPWeb -Identity $...
Goshky's user avatar
  • 2,058
1vote
0answers
118views

Importing webPart with PowerShell through command line versus PS1 script behaves differently

If I execute the following through a PowerShell console (ran manually) I am able to get the webParts to work correctly: $list = $context.web.Lists.GetByTitle("Pages du site") $context.Load($list) $...
Systemes TI's user avatar
2votes
2answers
2kviews

Adding webParts on a Wiki page in SharePoint Online through CSOM and PowerShell

I am trying to add a webPart on a SharePoint Online (Office 365) page using CSOM and PowerShell on a wiki page and that webPart always appears out of bounds like this: Code: $xmlDocument = Get-...
Systemes TI's user avatar

153050per page
close